﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


class StringToIntSum
{
    static int ReturnSum(string stringOfNumbers)
    {
        int sum = 0;
        string[] numbers = stringOfNumbers.Split(' ');
        foreach (var number in numbers)
        {
            sum += int.Parse(number);
        }
        return sum;
    }


    static void Main(string[] args)
    {
        string numbers = Console.ReadLine();
        Console.WriteLine(ReturnSum(numbers));
    }
}
